</head>
{if $catid}
{php $arrparentids = explode(',', $CATEGORYS[$catid]['arrparentid']);}
<body id="cate_{$CATEGORYS[$arrparentids[1]]['catdir']}">
{else}
<body>
{/if}
<?php
	$midarray = array(
		12=>array(
			'list'=>'orange',
			'bnav'=>'_c',
		),
		13=>array(
			'list'=>'brown',
			'bnav'=>'_c',
		),
		14=>array(
			'list'=>'brown',
			'bnav'=>'_c',
		),
		15=>array(
			'list'=>'green',
			'bnav'=>'_c',
		),
		 
	);
?>
<div id="header">
  <div id="head_login">
    <div class="head_login_l">
      {pc:block pos="index_zc"}{/pc}
      &nbsp;&nbsp; <span class="gray2">
      <script language="javascript" type="text/javascript">CAL_2();</script>
      </span> </div>
    <div id="head_login_r"> <span class="ico_sy"><a onClick="SetHome(this)" href="javascript:void(0);">设为首页</a></span> <span class="ico_rss"><a href="{APP_PATH}index.php?m=content&c=rss&siteid={get_siteid()}"> RSS订阅</a></span> <span class="ico_sc"><a onClick="addFav('{APP_PATH}','{$SEO['site_title']}')" href="javascript:;">加为收藏</a></span> &nbsp;<b></b></div>
  </div>
  <div id="head_nav">
    <div id="head_nav_logo"><a href="{APP_PATH}"><img height="62" border="0" width="142" src="{IMG_PATH}logo.jpg"></a></div>
    {template "content","h"}
  </div>
  <div class="clear"></div>
</div>
{if $id && $title}
<!-- 广告位：内容页条幅980-70 -->
<center style="width:980px;margin:8px auto;">{pc:block pos="showads98070"}{/pc}</center>
{/if}